package br.com.ctup.fastbood.dao;

import javax.persistence.Entity;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;

public class Conexao {

	public static  EntityManagerFactory emf =
			Persistence.createEntityManagerFactory("FASTFOOD");
	
	public static  EntityManager getEntityManager (){
		return emf.createEntityManager();
	}
}
